@CHARSET "UTF-8";

html,body {
	margin: 0;
	padding: 0
}

/* задаем минимальную ширину */
body {
	min-width: 1000px;
	background: url(../images/sideline.png) repeat-y -150px
}

/* тоже, но для IE хак */
* html #container {
	width: expression((document.documentElement.clientWidth || document.body.clientWidth) < 1000? "1000px": "auto");
}

body {
	font: 76% arial, sans-serif
}

p {
	margin: 0 10px 10px
}

a {
	color: #000066;
}

.errors {
	color:red;
	list-style-type:none;
	padding:0px;
	padding-left:1px;
}

div#header {
	height: 70px;
	padding: 10px 10px 10px 15px;
	border-bottom: 6px solid #F1F1F3;
	background: url(../images/logo.png) no-repeat -6px #F1F1F3;	
	
}

div#header div.info{
	float:right;
	padding-top: 15px;
}

div#header #project_name {
	margin-left: 350px;
	background-color: #F1F1F3;
	color: #000066;
	font-size:220%;
}

div#content p {
	line-height: 1.4
}

div#navigation {
	/*background: #B9CAFF;*/
		background: #B9CAFF;

}

div#extra {
	background: #FF8539
}

div#footer {
	background: #333;
	color: #FFF
}

div#footer p {
	margin: 0;
	padding: 5px 10px
}

div#wrapper {
	float: right;
	width: 100%;
	margin-left:-400px;
	
}

* html div#wrapper{
	padding-bottom: 25px;	
}

div#content {
	margin-left: 350px;
	padding: 15px 5px 5px 15px;
	overflow-x: auto;
}

* html div#content {
	/*width: 55%;*/
	width: expression(((document.documentElement.clientWidth || document.body.clientWidth) - 400)+"px");
	padding-bottom: 20px;
}

div#navigation {
	float: left;
	width: 330px
}

div#extra {
	float: left;
	clear: left;
	width: 330px
}

* html div#extra {
	margin: 0px;
	padding: 0px;
}

div#footer {
	clear: both;
	width: 100%
	
}


/* пытаемся прижать футер книзу */
html, body {height: 100%;}

#container {
  position: relative;
  min-height: 100%;
}

* html #container {
  height: 100%;
}


#footer {
  position: relative;
  height: 25px;
  margin-top: -25px;
}

* html div#footer {
	width: expression((document.documentElement.clientWidth || document.body.clientWidth) < 780? "780px": "auto");
}

#group {
	width: 170px;	
}

#login_form table {
	width: 300px;
}


#login_form tbody tr td{
	vertical-align:top;
}

#login_form tbody tr td label{
	display: block;
	padding-top:5px;
	width: 130px;
	color: black;

}

#login_form tbody tr td input{
	
}